Skip to main content

Query All Sub-Account Transfer Records

Type: GET

Description: /v4/user/account/broker-sub/transfer-records

Queries transfer records for one or all sub-accounts belonging to the broker. Sign the request with the broker master account's API Key.

Parameters

NameTypeMandatoryDefaultDescriptionRanges
subAccountIdlongfalse-Sub-account id; omit to query all sub-accountsSub-account belonging to the broker
currencyIdlongfalse-Currency idValid currency id
startTimelongfalse-Start timeMillisecond timestamp
endTimelongfalse-End timeMillisecond timestamp
cursorlongfalse-nextCursor returned by the previous page; omit for the first page-
limitintfalse20Items per page1-100

Records are returned in descending transfer id order. direction is in for transfers into a sub-account and out for transfers out. billType 17 means transfer in and 18 means transfer out.

Request Example

curl -X GET '{baseUrl}/v4/user/account/broker-sub/transfer-records?subAccountId=2354789012345&limit=20' \
-H 'validate-algorithms: HmacSHA256' \
-H 'validate-appkey: {accessKey}' \
-H 'validate-recvwindow: 60000' \
-H 'validate-timestamp: {timestamp}' \
-H 'validate-signature: {signature}'

Response Example

Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": {
"items": [
{
"id": 88761234500,
"subAccountId": 2354789012345,
"accountId": 2354700000001,
"toAccountId": 2354789012345,
"billType": 17,
"currencyId": 11,
"amount": "100.00000000",
"direction": "in",
"createTime": 1784639157333
}
],
"hasNext": false,
"nextCursor": null
},
"success": true
}